<template>
    <page-layout>
      <template v-slot:header>
        <el-button type="info" size="small" @click="backEvt">返回</el-button>
      </template>
  
      <el-form size="small" :model="list" label-width="100px">
        <el-row>
          <el-col :span="24">
            <el-form-item label="商铺编码:" prop="shop_id" >
              <el-input v-model="list.shop_id" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="商铺名字:" prop="shop_name" >
              <el-input v-model="list.shop_name" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="店长:" prop="manager" >
              <el-input v-model="list.manager" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="店员:" prop="clark" >
              <el-input v-model="list.clark" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="商铺经度:" prop="lat" >
              <el-input v-model="list.lat" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="商铺纬度:" prop="lng" >
              <el-input v-model="list.lng" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="地址:" prop="address" >
              <el-input v-model="list.address" readonly></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="24">
            <el-form-item label="备注:" prop="remark" >
              <el-input v-model="list.remark" readonly></el-input>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </page-layout>
  </template>
  <script>
  export default {
    data() {
      return {
          list:{}
      };
    },
    mounted(){
      // debugger
     let arr = []
     arr = JSON.parse(localStorage.getItem('shop'))   
     this.list=arr
     console.log('shop',this.list)
    },
    methods:{
      backEvt(){
          this.$router.push('/shop/list')
      }
    }
  };
  </script>
  